<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<style type="text/css">
 p{font-size:20px;margin:0px;}
 #container{width:500px}
 #header{background-color:#99bbbb;text-align:right;margin:0; padding:0;}
 #content{background-color:#EEEEEE;text-align:center;height:400px;margin:0; padding:0;}
</style>

<script type="text/javascript">
var v=getUrlParameter('User');
function getUrlParameter( name ){
var reg=new RegExp("(^|&)"+name+"=([^&]*)(&|$)","i");
var r=window.location.search.substr(1).match(reg);
if(r!=null)
	return unescape(r[2]);
return null;
}
</script>

</head>
<body>
<div id="container">

<div id="header">
<a margin="0px" class="login_in_a" href="login.html">登录</a><a margin="0px" class="login_out_a"  margin-left="1px" href="login_out.jsp"><span id="quitbtn" style="display:none">退出</span></a>
</div>


<div id="content">

<P id="pcontent"></P>
<script>
if(v==null){
	document.getElementById("pcontent").innerHTML="欢迎进入首页";	
}
else{
document.getElementById("pcontent").innerHTML=v+",欢迎进入首页"
document.getElementById("quitbtn").style.display='inline';
}
</script>
</div>


</div>
</body>
</html>